package sunyu.controller.shiro.pojo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * shiro session集合信息
 *
 * @author 孙宇
 */
public class ShiroSessions {

    private int total = 0;

    private Serializable currentSessionId;

    private List<ShiroSession> shiroSessionList = new ArrayList<>();

    public Serializable getCurrentSessionId() {
        return currentSessionId;
    }

    public void setCurrentSessionId(Serializable currentSessionId) {
        this.currentSessionId = currentSessionId;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<ShiroSession> getShiroSessionList() {
        return shiroSessionList;
    }

    public void setShiroSessionList(List<ShiroSession> shiroSessionList) {
        this.shiroSessionList = shiroSessionList;
    }
}
